package Datastruct.Kruskal.krusk;

public class Edge implements Comparable<Edge> {
    int begain;
    int end;
    int weight;


    @Override
    public int compareTo(Edge o) {
        return this.weight - o.weight;
    }
}
